package com.xuqm.sdhbwfu.app.ui

import android.content.Intent
import com.xuqm.base.ui.BaseActivity
import com.xuqm.sdhbwfu.app.MyApplication
import com.xuqm.sdhbwfu.app.R
import com.xuqm.sdhbwfu.app.databinding.ActivityWelcomeBinding

class WelcomeActivity : BaseActivity<ActivityWelcomeBinding>() {

    override fun getLayoutId(): Int = R.layout.activity_welcome
    override fun fullscreen(): Boolean = true

    override fun initData() {
        super.initData()
        MyApplication.getInstance().runOnUiThreadDelay({
            startActivity(Intent(mContext, LoginPswActivity::class.java))
            finish()
        }, 3000)
    }
}